const app = getApp()
Page({
  data: {
    domainName: app.domainName,
    qiuyD:[],
    name:'',
    num:0
  },
  onLoad(options) {
    var _this=this;
    wx.request({
      url: app.domainName + 'web/?c=getqyqd',
      method: 'POST',
      data: {openid:app.globalData.openid}, header: { 'content-type': 'application/x-www-form-urlencoded' },
      success: function (res) {
           _this.setData({qiuyD:res.data.d, name:res.data.n,num:res.data.num})
      }});

  },
  goBack(){
    wx.redirectTo({url: '/pages/zdui/index'})
    return;
  },
  
 
})
